package com.guchenbo.spring.boot.example;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author gucb
 * @Date 2017/6/2.
 */
@RestController
public class HelloController {

    @RequestMapping("/hello")
    public String hello(){
        return "world";
    }
}
